; ModuleID = 'gemm.cpp'
source_filename = "gemm.cpp"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx14.0.0"

%"class.std::__1::basic_ostream" = type { ptr, %"class.std::__1::basic_ios.base" }
%"class.std::__1::basic_ios.base" = type <{ %"class.std::__1::ios_base", ptr, %"struct.std::__1::_SentinelValueFill" }>
%"class.std::__1::ios_base" = type { ptr, i32, i64, i64, i32, i32, ptr, ptr, ptr, ptr, i64, i64, ptr, i64, i64, ptr, i64, i64 }
%"struct.std::__1::_SentinelValueFill" = type { i32 }
%"class.std::__1::locale::id" = type <{ %"struct.std::__1::once_flag", i32, [4 x i8] }>
%"struct.std::__1::once_flag" = type { i64 }
%"class.std::__1::locale" = type { ptr }
%"class.std::__1::basic_ostream<char>::sentry" = type { i8, ptr }
%"class.std::__1::basic_string" = type { %"class.std::__1::__compressed_pair.17" }
%"class.std::__1::__compressed_pair.17" = type { %"struct.std::__1::__compressed_pair_elem.18" }
%"struct.std::__1::__compressed_pair_elem.18" = type { %"union.std::__1::basic_string<char>::__rep" }
%"union.std::__1::basic_string<char>::__rep" = type { %"struct.std::__1::basic_string<char>::__long" }
%"struct.std::__1::basic_string<char>::__long" = type { ptr, i64, i64 }

@.str = private unnamed_addr constant [58 x i8] c" m %d n %d k %d latency gt %0.2f test %0.2f ratio %0.2f \0A\00", align 1
@_ZNSt3__14coutE = external global %"class.std::__1::basic_ostream", align 8
@.str.1 = private unnamed_addr constant [13 x i8] c" perf_start \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c" sum_query \00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c" miss_cache \00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c" miss_ratio \00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c" reuse_distance_sum \00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"basic_string\00", align 1
@_ZTISt12length_error = external constant ptr
@_ZTVSt12length_error = external unnamed_addr constant { [5 x ptr] }, align 8
@_ZNSt3__15ctypeIcE2idE = external global %"class.std::__1::locale::id", align 8
@.str.8 = private unnamed_addr constant [18 x i8] c"!!! no equal pos \00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c" src \00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c" gt \00", align 1
@.memset_pattern.15 = private unnamed_addr constant [4 x float] [float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00], align 16

; Function Attrs: mustprogress norecurse ssp uwtable(sync)
define noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = tail call noalias noundef nonnull dereferenceable(4000000) ptr @_Znam(i64 noundef 4000000) #16
  %2 = tail call noalias noundef nonnull dereferenceable(4000000) ptr @_Znam(i64 noundef 4000000) #16
  %3 = tail call noalias noundef nonnull dereferenceable(4000000) ptr @_Znam(i64 noundef 4000000) #16
  %4 = tail call noalias noundef nonnull dereferenceable(4000000) ptr @_Znam(i64 noundef 4000000) #16
  tail call void @memset_pattern16(ptr nonnull %1, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  tail call void @memset_pattern16(ptr nonnull %2, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  tail call void @memset_pattern16(ptr nonnull %4, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  %5 = tail call i64 @_ZNSt3__16chrono12steady_clock3nowEv() #17
  %6 = tail call noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #16
  %7 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #16
          to label %8 unwind label %162

8:                                                ; preds = %0
  store <2 x i32> <i32 -1, i32 -1>, ptr %7, align 8, !tbaa !10
  %9 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr null, ptr %9, align 8, !tbaa !12
  store ptr %7, ptr %6, align 8, !tbaa !15
  %10 = getelementptr inbounds i8, ptr %6, i64 8
  %11 = getelementptr inbounds i8, ptr %6, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %10, i8 0, i64 32, i1 false)
  store float 1.000000e+00, ptr %11, align 4, !tbaa !33
  %12 = getelementptr inbounds i8, ptr %6, i64 48
  store i64 0, ptr %12, align 8, !tbaa !34
  %13 = getelementptr inbounds i8, ptr %6, i64 56
  store <2 x i32> <i32 32768, i32 8>, ptr %13, align 8, !tbaa !10
  br label %14

14:                                               ; preds = %94, %8
  %15 = phi i64 [ 0, %8 ], [ %95, %94 ]
  %16 = mul nuw nsw i64 %15, 1000
  %17 = getelementptr inbounds float, ptr %1, i64 %16
  %18 = getelementptr inbounds float, ptr %4, i64 %16
  %19 = getelementptr inbounds i8, ptr %18, i64 3968
  %20 = getelementptr inbounds i8, ptr %18, i64 3972
  %21 = getelementptr inbounds i8, ptr %18, i64 3976
  %22 = getelementptr inbounds i8, ptr %18, i64 3980
  %23 = getelementptr inbounds i8, ptr %18, i64 3984
  %24 = getelementptr inbounds i8, ptr %18, i64 3988
  %25 = getelementptr inbounds i8, ptr %18, i64 3992
  %26 = getelementptr inbounds i8, ptr %18, i64 3996
  br label %27

27:                                               ; preds = %59, %14
  %28 = phi i64 [ %92, %59 ], [ 0, %14 ]
  %29 = getelementptr inbounds float, ptr %17, i64 %28
  %30 = mul nuw nsw i64 %28, 4000
  %31 = getelementptr inbounds i8, ptr %2, i64 %30
  %32 = load float, ptr %29, align 4, !tbaa !6
  %33 = insertelement <4 x float> poison, float %32, i64 0
  %34 = shufflevector <4 x float> %33, <4 x float> poison, <4 x i32> zeroinitializer
  br label %35

35:                                               ; preds = %35, %27
  %36 = phi i64 [ 0, %27 ], [ %57, %35 ]
  %37 = getelementptr inbounds float, ptr %31, i64 %36
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = getelementptr inbounds i8, ptr %37, i64 32
  %40 = getelementptr inbounds i8, ptr %37, i64 48
  %41 = load <4 x float>, ptr %37, align 4, !tbaa !6
  %42 = load <4 x float>, ptr %38, align 4, !tbaa !6
  %43 = load <4 x float>, ptr %39, align 4, !tbaa !6
  %44 = load <4 x float>, ptr %40, align 4, !tbaa !6
  %45 = getelementptr inbounds float, ptr %18, i64 %36
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  %47 = getelementptr inbounds i8, ptr %45, i64 32
  %48 = getelementptr inbounds i8, ptr %45, i64 48
  %49 = load <4 x float>, ptr %45, align 4, !tbaa !6
  %50 = load <4 x float>, ptr %46, align 4, !tbaa !6
  %51 = load <4 x float>, ptr %47, align 4, !tbaa !6
  %52 = load <4 x float>, ptr %48, align 4, !tbaa !6
  %53 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %34, <4 x float> %41, <4 x float> %49)
  %54 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %34, <4 x float> %42, <4 x float> %50)
  %55 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %34, <4 x float> %43, <4 x float> %51)
  %56 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %34, <4 x float> %44, <4 x float> %52)
  store <4 x float> %53, ptr %45, align 4, !tbaa !6
  store <4 x float> %54, ptr %46, align 4, !tbaa !6
  store <4 x float> %55, ptr %47, align 4, !tbaa !6
  store <4 x float> %56, ptr %48, align 4, !tbaa !6
  %57 = add nuw i64 %36, 16
  %58 = icmp eq i64 %57, 992
  br i1 %58, label %59, label %35, !llvm.loop !35

59:                                               ; preds = %35
  %60 = getelementptr inbounds i8, ptr %31, i64 3968
  %61 = load float, ptr %60, align 4, !tbaa !6
  %62 = load float, ptr %19, align 4, !tbaa !6
  %63 = tail call float @llvm.fmuladd.f32(float %32, float %61, float %62)
  store float %63, ptr %19, align 4, !tbaa !6
  %64 = getelementptr inbounds i8, ptr %31, i64 3972
  %65 = load float, ptr %64, align 4, !tbaa !6
  %66 = load float, ptr %20, align 4, !tbaa !6
  %67 = tail call float @llvm.fmuladd.f32(float %32, float %65, float %66)
  store float %67, ptr %20, align 4, !tbaa !6
  %68 = getelementptr inbounds i8, ptr %31, i64 3976
  %69 = load float, ptr %68, align 4, !tbaa !6
  %70 = load float, ptr %21, align 4, !tbaa !6
  %71 = tail call float @llvm.fmuladd.f32(float %32, float %69, float %70)
  store float %71, ptr %21, align 4, !tbaa !6
  %72 = getelementptr inbounds i8, ptr %31, i64 3980
  %73 = load float, ptr %72, align 4, !tbaa !6
  %74 = load float, ptr %22, align 4, !tbaa !6
  %75 = tail call float @llvm.fmuladd.f32(float %32, float %73, float %74)
  store float %75, ptr %22, align 4, !tbaa !6
  %76 = getelementptr inbounds i8, ptr %31, i64 3984
  %77 = load float, ptr %76, align 4, !tbaa !6
  %78 = load float, ptr %23, align 4, !tbaa !6
  %79 = tail call float @llvm.fmuladd.f32(float %32, float %77, float %78)
  store float %79, ptr %23, align 4, !tbaa !6
  %80 = getelementptr inbounds i8, ptr %31, i64 3988
  %81 = load float, ptr %80, align 4, !tbaa !6
  %82 = load float, ptr %24, align 4, !tbaa !6
  %83 = tail call float @llvm.fmuladd.f32(float %32, float %81, float %82)
  store float %83, ptr %24, align 4, !tbaa !6
  %84 = getelementptr inbounds i8, ptr %31, i64 3992
  %85 = load float, ptr %84, align 4, !tbaa !6
  %86 = load float, ptr %25, align 4, !tbaa !6
  %87 = tail call float @llvm.fmuladd.f32(float %32, float %85, float %86)
  store float %87, ptr %25, align 4, !tbaa !6
  %88 = getelementptr inbounds i8, ptr %31, i64 3996
  %89 = load float, ptr %88, align 4, !tbaa !6
  %90 = load float, ptr %26, align 4, !tbaa !6
  %91 = tail call float @llvm.fmuladd.f32(float %32, float %89, float %90)
  store float %91, ptr %26, align 4, !tbaa !6
  %92 = add nuw nsw i64 %28, 1
  %93 = icmp eq i64 %92, 1000
  br i1 %93, label %94, label %27, !llvm.loop !39

94:                                               ; preds = %59
  %95 = add nuw nsw i64 %15, 1
  %96 = icmp eq i64 %95, 1000
  br i1 %96, label %97, label %14, !llvm.loop !40

97:                                               ; preds = %94
  tail call void @_ZN13EvalCacheHook8dumpPerfEv(ptr noundef nonnull align 8 dereferenceable(64) %6)
  %98 = load ptr, ptr %6, align 8, !tbaa !15
  %99 = icmp eq ptr %98, null
  br i1 %99, label %105, label %100

100:                                              ; preds = %97, %100
  %101 = phi ptr [ %103, %100 ], [ %98, %97 ]
  %102 = getelementptr inbounds i8, ptr %101, i64 8
  %103 = load ptr, ptr %102, align 8, !tbaa !12
  tail call void @_ZdlPv(ptr noundef nonnull %101) #18
  store ptr %103, ptr %6, align 8, !tbaa !15
  %104 = icmp eq ptr %103, null
  br i1 %104, label %105, label %100, !llvm.loop !41

105:                                              ; preds = %100, %97
  %106 = getelementptr inbounds i8, ptr %6, i64 24
  %107 = load ptr, ptr %106, align 8, !tbaa !42
  %108 = icmp eq ptr %107, null
  br i1 %108, label %113, label %109

109:                                              ; preds = %105, %109
  %110 = phi ptr [ %111, %109 ], [ %107, %105 ]
  %111 = load ptr, ptr %110, align 8, !tbaa !42
  tail call void @_ZdlPv(ptr noundef nonnull %110) #18
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %109, !llvm.loop !43

113:                                              ; preds = %109, %105
  %114 = load ptr, ptr %10, align 8, !tbaa !44
  store ptr null, ptr %10, align 8, !tbaa !44
  %115 = icmp eq ptr %114, null
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  tail call void @_ZdlPv(ptr noundef nonnull %114) #18
  br label %117

117:                                              ; preds = %113, %116
  tail call void @_ZdlPv(ptr noundef nonnull %6) #18
  %118 = tail call i64 @_ZNSt3__16chrono12steady_clock3nowEv() #17
  tail call void @memset_pattern16(ptr nonnull %1, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  tail call void @memset_pattern16(ptr nonnull %2, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  tail call void @memset_pattern16(ptr nonnull %3, ptr nonnull @.memset_pattern.15, i64 4000000), !tbaa !6
  %119 = tail call i64 @_ZNSt3__16chrono12steady_clock3nowEv() #17
  %120 = tail call noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #16
  %121 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #16
          to label %122 unwind label %164

122:                                              ; preds = %117
  store <2 x i32> <i32 -1, i32 -1>, ptr %121, align 8, !tbaa !10
  %123 = getelementptr inbounds i8, ptr %121, i64 8
  store ptr null, ptr %123, align 8, !tbaa !12
  store ptr %121, ptr %120, align 8, !tbaa !15
  %124 = getelementptr inbounds i8, ptr %120, i64 8
  %125 = getelementptr inbounds i8, ptr %120, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %124, i8 0, i64 32, i1 false)
  store float 1.000000e+00, ptr %125, align 4, !tbaa !33
  %126 = getelementptr inbounds i8, ptr %120, i64 48
  store i64 0, ptr %126, align 8, !tbaa !34
  %127 = getelementptr inbounds i8, ptr %120, i64 56
  store <2 x i32> <i32 32768, i32 8>, ptr %127, align 8, !tbaa !10
  tail call void @_Z6gemm_0ILi512ELi512ELi512EfEvPT2_S1_S1_iiiP13EvalCacheHook(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 1000, i32 noundef 1000, i32 noundef 1000, ptr noundef nonnull %120)
  tail call void @_ZN13EvalCacheHook8dumpPerfEv(ptr noundef nonnull align 8 dereferenceable(64) %120)
  %128 = load ptr, ptr %120, align 8, !tbaa !15
  %129 = icmp eq ptr %128, null
  br i1 %129, label %135, label %130

130:                                              ; preds = %122, %130
  %131 = phi ptr [ %133, %130 ], [ %128, %122 ]
  %132 = getelementptr inbounds i8, ptr %131, i64 8
  %133 = load ptr, ptr %132, align 8, !tbaa !12
  tail call void @_ZdlPv(ptr noundef nonnull %131) #18
  store ptr %133, ptr %120, align 8, !tbaa !15
  %134 = icmp eq ptr %133, null
  br i1 %134, label %135, label %130, !llvm.loop !41

135:                                              ; preds = %130, %122
  %136 = getelementptr inbounds i8, ptr %120, i64 24
  %137 = load ptr, ptr %136, align 8, !tbaa !42
  %138 = icmp eq ptr %137, null
  br i1 %138, label %143, label %139

139:                                              ; preds = %135, %139
  %140 = phi ptr [ %141, %139 ], [ %137, %135 ]
  %141 = load ptr, ptr %140, align 8, !tbaa !42
  tail call void @_ZdlPv(ptr noundef nonnull %140) #18
  %142 = icmp eq ptr %141, null
  br i1 %142, label %143, label %139, !llvm.loop !43

143:                                              ; preds = %139, %135
  %144 = load ptr, ptr %124, align 8, !tbaa !44
  store ptr null, ptr %124, align 8, !tbaa !44
  %145 = icmp eq ptr %144, null
  br i1 %145, label %147, label %146

146:                                              ; preds = %143
  tail call void @_ZdlPv(ptr noundef nonnull %144) #18
  br label %147

147:                                              ; preds = %143, %146
  %148 = sdiv i64 %119, -1000000
  %149 = sdiv i64 %118, 1000000
  %150 = sdiv i64 %5, -1000000
  tail call void @_ZdlPv(ptr noundef nonnull %120) #18
  %151 = add nsw i64 %149, %150
  %152 = uitofp i64 %151 to float
  %153 = tail call i64 @_ZNSt3__16chrono12steady_clock3nowEv() #17
  %154 = sdiv i64 %153, 1000000
  %155 = add nsw i64 %154, %148
  %156 = uitofp i64 %155 to float
  %157 = fpext float %152 to double
  %158 = fpext float %156 to double
  %159 = fdiv float %156, %152
  %160 = fpext float %159 to double
  %161 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 1000, i32 noundef 1000, i32 noundef 1000, double noundef %157, double noundef %158, double noundef %160)
  tail call void @_Z4evalIfEvPT_S1_i(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 1000000)
  ret i32 0

162:                                              ; preds = %0
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %166

164:                                              ; preds = %117
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %166

166:                                              ; preds = %164, %162
  %167 = phi ptr [ %120, %164 ], [ %6, %162 ]
  %168 = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  tail call void @_ZdlPv(ptr noundef nonnull %167) #18
  resume { ptr, i32 } %168
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPv(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind ssp uwtable(sync)
define linkonce_odr void @_Z6gemm_0ILi512ELi512ELi512EfEvPT2_S1_S1_iiiP13EvalCacheHook(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #4 {
  %8 = alloca [2 x [262144 x float]], align 4
  %9 = alloca [2 x [262144 x float]], align 4
  %10 = alloca [262144 x float], align 4
  call void @llvm.lifetime.start.p0(i64 2097152, ptr nonnull %8) #17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2097152) %8, i8 0, i64 2097152, i1 false)
  call void @llvm.lifetime.start.p0(i64 2097152, ptr nonnull %9) #17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2097152) %9, i8 0, i64 2097152, i1 false)
  %11 = icmp sgt i32 %3, 0
  br i1 %11, label %12, label %277

12:                                               ; preds = %7
  %13 = icmp sgt i32 %4, 0
  %14 = getelementptr inbounds i8, ptr %8, i64 1048576
  %15 = getelementptr inbounds i8, ptr %9, i64 1048576
  %16 = icmp sgt i32 %5, 0
  br i1 %13, label %17, label %277

17:                                               ; preds = %12
  %18 = sext i32 %5 to i64
  %19 = zext nneg i32 %4 to i64
  %20 = add i32 %5, -1
  %21 = lshr i32 %20, 9
  %22 = zext nneg i32 %3 to i64
  %23 = getelementptr inbounds i8, ptr %8, i64 1048576
  %24 = getelementptr inbounds i8, ptr %9, i64 1048576
  %25 = shl i32 %4, 9
  %26 = zext i32 %25 to i64
  br label %27

27:                                               ; preds = %17, %273
  %28 = phi i64 [ 0, %17 ], [ %276, %273 ]
  %29 = phi i64 [ 0, %17 ], [ %274, %273 ]
  %30 = mul i64 %28, %26
  br label %31

31:                                               ; preds = %27, %34
  %32 = phi i64 [ 0, %27 ], [ %35, %34 ]
  %33 = add i64 %30, %32
  call void @llvm.lifetime.start.p0(i64 1048576, ptr nonnull %10) #17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1048576) %10, i8 0, i64 1048576, i1 false)
  br label %176

34:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 1048576, ptr nonnull %10) #17
  %35 = add nuw nsw i64 %32, 512
  %36 = icmp ult i64 %35, %19
  br i1 %36, label %31, label %273, !llvm.loop !45

37:                                               ; preds = %258, %76
  %38 = phi i64 [ 0, %258 ], [ %77, %76 ]
  %39 = add nuw nsw i64 %38, %29
  %40 = shl nuw nsw i64 %38, 9
  %41 = trunc i64 %39 to i32
  %42 = mul i32 %41, %4
  %43 = add nuw i32 %42, %259
  %44 = mul i64 %38, %19
  %45 = add i64 %33, %44
  %46 = trunc i64 %45 to i32
  %47 = icmp sgt i32 %46, 2147483136
  br i1 %47, label %79, label %48

48:                                               ; preds = %37, %48
  %49 = phi i64 [ %74, %48 ], [ 0, %37 ]
  %50 = trunc i64 %49 to i32
  %51 = add nuw nsw i64 %49, %40
  %52 = getelementptr inbounds [262144 x float], ptr %10, i64 0, i64 %51
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  %54 = getelementptr inbounds i8, ptr %52, i64 32
  %55 = getelementptr inbounds i8, ptr %52, i64 48
  %56 = load <4 x float>, ptr %52, align 4, !tbaa !6
  %57 = load <4 x float>, ptr %53, align 4, !tbaa !6
  %58 = load <4 x float>, ptr %54, align 4, !tbaa !6
  %59 = load <4 x float>, ptr %55, align 4, !tbaa !6
  %60 = add i32 %43, %50
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds float, ptr %2, i64 %61
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  %64 = getelementptr inbounds i8, ptr %62, i64 32
  %65 = getelementptr inbounds i8, ptr %62, i64 48
  %66 = load <4 x float>, ptr %62, align 4, !tbaa !6
  %67 = load <4 x float>, ptr %63, align 4, !tbaa !6
  %68 = load <4 x float>, ptr %64, align 4, !tbaa !6
  %69 = load <4 x float>, ptr %65, align 4, !tbaa !6
  %70 = fadd <4 x float> %56, %66
  %71 = fadd <4 x float> %57, %67
  %72 = fadd <4 x float> %58, %68
  %73 = fadd <4 x float> %59, %69
  store <4 x float> %70, ptr %62, align 4, !tbaa !6
  store <4 x float> %71, ptr %63, align 4, !tbaa !6
  store <4 x float> %72, ptr %64, align 4, !tbaa !6
  store <4 x float> %73, ptr %65, align 4, !tbaa !6
  %74 = add nuw i64 %49, 16
  %75 = icmp eq i64 %74, 512
  br i1 %75, label %76, label %48, !llvm.loop !46

76:                                               ; preds = %48, %79
  %77 = add nuw nsw i64 %38, 1
  %78 = icmp eq i64 %77, 512
  br i1 %78, label %34, label %37, !llvm.loop !47

79:                                               ; preds = %37, %79
  %80 = phi i64 [ %90, %79 ], [ 0, %37 ]
  %81 = add nuw nsw i64 %80, %40
  %82 = getelementptr inbounds [262144 x float], ptr %10, i64 0, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !6
  %84 = trunc nuw nsw i64 %80 to i32
  %85 = add i32 %43, %84
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds float, ptr %2, i64 %86
  %88 = load float, ptr %87, align 4, !tbaa !6
  %89 = fadd float %83, %88
  store float %89, ptr %87, align 4, !tbaa !6
  %90 = add nuw nsw i64 %80, 1
  %91 = icmp eq i64 %90, 512
  br i1 %91, label %76, label %79, !llvm.loop !48

92:                                               ; preds = %260, %103
  %93 = phi i64 [ %104, %103 ], [ 512, %260 ]
  %94 = phi i32 [ %98, %103 ], [ 0, %260 ]
  %95 = shl i32 %94, 20
  %96 = and i32 %95, 1048576
  %97 = zext nneg i32 %96 to i64
  %98 = add nuw nsw i32 %94, 1
  %99 = and i32 %98, 1
  %100 = icmp slt i64 %93, %18
  br i1 %100, label %244, label %101

101:                                              ; preds = %270, %92
  %102 = zext nneg i32 %99 to i64
  br label %239

103:                                              ; preds = %106
  %104 = add nuw nsw i64 %93, 512
  %105 = icmp eq i32 %94, %21
  br i1 %105, label %258, label %92, !llvm.loop !49

106:                                              ; preds = %236
  %107 = add nuw nsw i64 %240, 1
  %108 = icmp eq i64 %107, 512
  br i1 %108, label %103, label %239, !llvm.loop !50

109:                                              ; preds = %270, %242
  %110 = phi i64 [ %271, %270 ], [ 0, %242 ]
  %111 = or disjoint i64 %110, %93
  %112 = freeze i64 %111
  %113 = trunc i64 %112 to i32
  %114 = icmp slt i32 %113, %5
  %115 = shl nuw nsw i64 %110, 9
  br i1 %114, label %119, label %116

116:                                              ; preds = %109
  %117 = shl nuw nsw i64 %110, 11
  %118 = getelementptr i8, ptr %243, i64 %117
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2048) %118, i8 0, i64 2048, i1 false), !tbaa !6
  br label %270

119:                                              ; preds = %109
  %120 = mul nuw nsw i32 %113, %4
  %121 = sext i32 %120 to i64
  %122 = getelementptr float, ptr %1, i64 %121
  br label %123

123:                                              ; preds = %119, %130
  %124 = phi i64 [ 0, %119 ], [ %134, %130 ]
  %125 = or disjoint i64 %124, %32
  %126 = icmp ult i64 %125, %19
  br i1 %126, label %127, label %130

127:                                              ; preds = %123
  %128 = getelementptr float, ptr %122, i64 %125
  %129 = load float, ptr %128, align 4, !tbaa !6
  br label %130

130:                                              ; preds = %123, %127
  %131 = phi float [ %129, %127 ], [ 0.000000e+00, %123 ]
  %132 = add nuw nsw i64 %124, %115
  %133 = getelementptr inbounds [2 x [262144 x float]], ptr %9, i64 0, i64 %246, i64 %132
  store float %131, ptr %133, align 4, !tbaa !6
  %134 = add nuw nsw i64 %124, 1
  %135 = icmp eq i64 %134, 512
  br i1 %135, label %270, label %123, !llvm.loop !51

136:                                              ; preds = %267, %244
  %137 = phi i64 [ %268, %267 ], [ 0, %244 ]
  %138 = or disjoint i64 %137, %29
  %139 = freeze i64 %138
  %140 = trunc i64 %139 to i32
  %141 = icmp slt i32 %140, %3
  %142 = shl nuw nsw i64 %137, 9
  br i1 %141, label %146, label %143

143:                                              ; preds = %136
  %144 = shl nuw nsw i64 %137, 11
  %145 = getelementptr i8, ptr %247, i64 %144
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2048) %145, i8 0, i64 2048, i1 false), !tbaa !6
  br label %267

146:                                              ; preds = %136
  %147 = mul nuw nsw i32 %140, %5
  %148 = sext i32 %147 to i64
  %149 = getelementptr float, ptr %0, i64 %148
  br label %150

150:                                              ; preds = %146, %157
  %151 = phi i64 [ 0, %146 ], [ %161, %157 ]
  %152 = or disjoint i64 %151, %93
  %153 = icmp slt i64 %152, %18
  br i1 %153, label %154, label %157

154:                                              ; preds = %150
  %155 = getelementptr float, ptr %149, i64 %152
  %156 = load float, ptr %155, align 4, !tbaa !6
  br label %157

157:                                              ; preds = %150, %154
  %158 = phi float [ %156, %154 ], [ 0.000000e+00, %150 ]
  %159 = add nuw nsw i64 %151, %142
  %160 = getelementptr inbounds [2 x [262144 x float]], ptr %8, i64 0, i64 %246, i64 %159
  store float %158, ptr %160, align 4, !tbaa !6
  %161 = add nuw nsw i64 %151, 1
  %162 = icmp eq i64 %161, 512
  br i1 %162, label %267, label %150, !llvm.loop !52

163:                                              ; preds = %255, %170
  %164 = phi i64 [ 0, %255 ], [ %174, %170 ]
  %165 = or disjoint i64 %164, %32
  %166 = icmp ult i64 %165, %19
  br i1 %166, label %167, label %170

167:                                              ; preds = %163
  %168 = getelementptr inbounds float, ptr %257, i64 %165
  %169 = load float, ptr %168, align 4, !tbaa !6
  br label %170

170:                                              ; preds = %163, %167
  %171 = phi float [ %169, %167 ], [ 0.000000e+00, %163 ]
  %172 = add nuw nsw i64 %164, %251
  %173 = getelementptr inbounds [262144 x float], ptr %15, i64 0, i64 %172
  store float %171, ptr %173, align 4, !tbaa !6
  %174 = add nuw nsw i64 %164, 1
  %175 = icmp eq i64 %174, 512
  br i1 %175, label %264, label %163, !llvm.loop !53

176:                                              ; preds = %261, %31
  %177 = phi i64 [ %262, %261 ], [ 0, %31 ]
  %178 = or disjoint i64 %177, %29
  %179 = freeze i64 %178
  %180 = trunc i64 %179 to i32
  %181 = icmp slt i32 %180, %3
  %182 = shl nuw nsw i64 %177, 9
  br i1 %181, label %186, label %183

183:                                              ; preds = %176
  %184 = shl nuw nsw i64 %177, 11
  %185 = getelementptr i8, ptr %23, i64 %184
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2048) %185, i8 0, i64 2048, i1 false), !tbaa !6
  br label %261

186:                                              ; preds = %176
  %187 = mul nsw i32 %180, %5
  %188 = sext i32 %187 to i64
  %189 = getelementptr float, ptr %0, i64 %188
  br label %190

190:                                              ; preds = %186, %196
  %191 = phi i64 [ 0, %186 ], [ %200, %196 ]
  %192 = icmp slt i64 %191, %18
  br i1 %192, label %193, label %196

193:                                              ; preds = %190
  %194 = getelementptr float, ptr %189, i64 %191
  %195 = load float, ptr %194, align 4, !tbaa !6
  br label %196

196:                                              ; preds = %190, %193
  %197 = phi float [ %195, %193 ], [ 0.000000e+00, %190 ]
  %198 = add nuw nsw i64 %191, %182
  %199 = getelementptr inbounds [262144 x float], ptr %14, i64 0, i64 %198
  store float %197, ptr %199, align 4, !tbaa !6
  %200 = add nuw nsw i64 %191, 1
  %201 = icmp eq i64 %200, 512
  br i1 %201, label %261, label %190, !llvm.loop !54

202:                                              ; preds = %239, %236
  %203 = phi i64 [ 0, %239 ], [ %237, %236 ]
  %204 = shl nuw nsw i64 %203, 9
  %205 = or disjoint i64 %203, %241
  %206 = getelementptr inbounds [2 x [262144 x float]], ptr %8, i64 0, i64 %102, i64 %205
  %207 = load float, ptr %206, align 4, !tbaa !6
  %208 = insertelement <4 x float> poison, float %207, i64 0
  %209 = shufflevector <4 x float> %208, <4 x float> poison, <4 x i32> zeroinitializer
  br label %210

210:                                              ; preds = %210, %202
  %211 = phi i64 [ 0, %202 ], [ %234, %210 ]
  %212 = add nuw nsw i64 %211, %204
  %213 = getelementptr inbounds [2 x [262144 x float]], ptr %9, i64 0, i64 %102, i64 %212
  %214 = getelementptr inbounds i8, ptr %213, i64 16
  %215 = getelementptr inbounds i8, ptr %213, i64 32
  %216 = getelementptr inbounds i8, ptr %213, i64 48
  %217 = load <4 x float>, ptr %213, align 4, !tbaa !6
  %218 = load <4 x float>, ptr %214, align 4, !tbaa !6
  %219 = load <4 x float>, ptr %215, align 4, !tbaa !6
  %220 = load <4 x float>, ptr %216, align 4, !tbaa !6
  %221 = or disjoint i64 %211, %241
  %222 = getelementptr inbounds [262144 x float], ptr %10, i64 0, i64 %221
  %223 = getelementptr inbounds i8, ptr %222, i64 16
  %224 = getelementptr inbounds i8, ptr %222, i64 32
  %225 = getelementptr inbounds i8, ptr %222, i64 48
  %226 = load <4 x float>, ptr %222, align 4, !tbaa !6
  %227 = load <4 x float>, ptr %223, align 4, !tbaa !6
  %228 = load <4 x float>, ptr %224, align 4, !tbaa !6
  %229 = load <4 x float>, ptr %225, align 4, !tbaa !6
  %230 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %209, <4 x float> %217, <4 x float> %226)
  %231 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %209, <4 x float> %218, <4 x float> %227)
  %232 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %209, <4 x float> %219, <4 x float> %228)
  %233 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %209, <4 x float> %220, <4 x float> %229)
  store <4 x float> %230, ptr %222, align 4, !tbaa !6
  store <4 x float> %231, ptr %223, align 4, !tbaa !6
  store <4 x float> %232, ptr %224, align 4, !tbaa !6
  store <4 x float> %233, ptr %225, align 4, !tbaa !6
  %234 = add nuw i64 %211, 16
  %235 = icmp eq i64 %234, 512
  br i1 %235, label %236, label %210, !llvm.loop !55

236:                                              ; preds = %210
  %237 = add nuw nsw i64 %203, 1
  %238 = icmp eq i64 %237, 512
  br i1 %238, label %106, label %202, !llvm.loop !56

239:                                              ; preds = %106, %101
  %240 = phi i64 [ %107, %106 ], [ 0, %101 ]
  %241 = shl nuw nsw i64 %240, 9
  br label %202

242:                                              ; preds = %267
  %243 = getelementptr i8, ptr %9, i64 %97
  br label %109

244:                                              ; preds = %92
  %245 = and i32 %94, 1
  %246 = zext nneg i32 %245 to i64
  %247 = getelementptr i8, ptr %8, i64 %97
  br label %136

248:                                              ; preds = %261, %264
  %249 = phi i64 [ %265, %264 ], [ 0, %261 ]
  %250 = icmp slt i64 %249, %18
  %251 = shl nuw nsw i64 %249, 9
  br i1 %250, label %255, label %252

252:                                              ; preds = %248
  %253 = shl nuw nsw i64 %249, 11
  %254 = getelementptr i8, ptr %24, i64 %253
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2048) %254, i8 0, i64 2048, i1 false), !tbaa !6
  br label %264

255:                                              ; preds = %248
  %256 = mul nuw nsw i64 %249, %19
  %257 = getelementptr inbounds float, ptr %1, i64 %256
  br label %163

258:                                              ; preds = %103, %260
  %259 = trunc nuw nsw i64 %32 to i32
  br label %37

260:                                              ; preds = %264
  br i1 %16, label %92, label %258

261:                                              ; preds = %196, %183
  %262 = add nuw nsw i64 %177, 1
  %263 = icmp eq i64 %262, 512
  br i1 %263, label %248, label %176, !llvm.loop !57

264:                                              ; preds = %170, %252
  %265 = add nuw nsw i64 %249, 1
  %266 = icmp eq i64 %265, 512
  br i1 %266, label %260, label %248, !llvm.loop !58

267:                                              ; preds = %157, %143
  %268 = add nuw nsw i64 %137, 1
  %269 = icmp eq i64 %268, 512
  br i1 %269, label %242, label %136, !llvm.loop !59

270:                                              ; preds = %130, %116
  %271 = add nuw nsw i64 %110, 1
  %272 = icmp eq i64 %271, 512
  br i1 %272, label %101, label %109, !llvm.loop !60

273:                                              ; preds = %34
  %274 = add nuw nsw i64 %29, 512
  %275 = icmp ult i64 %274, %22
  %276 = add i64 %28, 1
  br i1 %275, label %27, label %277, !llvm.loop !61

277:                                              ; preds = %273, %12, %7
  call void @llvm.lifetime.end.p0(i64 2097152, ptr nonnull %9) #17
  call void @llvm.lifetime.end.p0(i64 2097152, ptr nonnull %8) #17
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: mustprogress ssp uwtable(sync)
define linkonce_odr void @_Z4evalIfEvPT_S1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__1::locale", align 8
  %5 = icmp sgt i32 %2, 0
  br i1 %5, label %6, label %47

6:                                                ; preds = %3
  %7 = zext nneg i32 %2 to i64
  br label %8

8:                                                ; preds = %6, %44
  %9 = phi i64 [ 0, %6 ], [ %45, %44 ]
  %10 = getelementptr inbounds float, ptr %0, i64 %9
  %11 = load float, ptr %10, align 4, !tbaa !6
  %12 = getelementptr inbounds float, ptr %1, i64 %9
  %13 = load float, ptr %12, align 4, !tbaa !6
  %14 = fcmp une float %11, %13
  br i1 %14, label %15, label %44

15:                                               ; preds = %8
  %16 = getelementptr inbounds float, ptr %0, i64 %9
  %17 = getelementptr inbounds float, ptr %1, i64 %9
  %18 = trunc nuw nsw i64 %9 to i32
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) @_ZNSt3__14coutE, ptr noundef nonnull @.str.8, i64 noundef 17)
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef %18)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @.str.9, i64 noundef 5)
  %22 = load float, ptr %16, align 4, !tbaa !6
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf(ptr noundef nonnull align 8 dereferenceable(8) %21, float noundef %22)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @.str.10, i64 noundef 4)
  %25 = load float, ptr %17, align 4, !tbaa !6
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf(ptr noundef nonnull align 8 dereferenceable(8) %24, float noundef %25)
  %27 = load ptr, ptr %26, align 8, !tbaa !62
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %26, i64 %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #17
  call void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__1::locale") align 8 %4, ptr noundef nonnull align 8 dereferenceable(136) %30)
  %31 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(12) @_ZNSt3__15ctypeIcE2idE)
          to label %32 unwind label %37

32:                                               ; preds = %15
  %33 = load ptr, ptr %31, align 8, !tbaa !62
  %34 = getelementptr inbounds i8, ptr %33, i64 56
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef signext i8 %35(ptr noundef nonnull align 8 dereferenceable(25) %31, i8 noundef signext 10)
          to label %40 unwind label %37

37:                                               ; preds = %32, %15
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  resume { ptr, i32 } %38

40:                                               ; preds = %32
  %41 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc(ptr noundef nonnull align 8 dereferenceable(8) %26, i8 noundef signext %36)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(ptr noundef nonnull align 8 dereferenceable(8) %26)
  br label %47

44:                                               ; preds = %8
  %45 = add nuw nsw i64 %9, 1
  %46 = icmp eq i64 %45, %7
  br i1 %46, label %47, label %8, !llvm.loop !64

47:                                               ; preds = %44, %3, %40
  ret void
}

; Function Attrs: nounwind
declare i64 @_ZNSt3__16chrono12steady_clock3nowEv() local_unnamed_addr #7

; Function Attrs: noinline noreturn nounwind ssp uwtable(sync)
define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #8 {
  %2 = tail call ptr @__cxa_begin_catch(ptr %0) #17
  tail call void @_ZSt9terminatev() #19
  unreachable
}

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZSt9terminatev() local_unnamed_addr

; Function Attrs: mustprogress ssp uwtable(sync)
define linkonce_odr void @_ZN13EvalCacheHook8dumpPerfEv(ptr noundef nonnull align 8 dereferenceable(64) %0) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__1::locale", align 8
  %3 = alloca %"class.std::__1::locale", align 8
  %4 = alloca %"class.std::__1::locale", align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = load i64, ptr %5, align 8, !tbaa !65
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %108, label %8

8:                                                ; preds = %1
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) @_ZNSt3__14coutE, ptr noundef nonnull @.str.1, i64 noundef 12)
  %10 = load ptr, ptr %9, align 8, !tbaa !62
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr %9, i64 %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #17
  call void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__1::locale") align 8 %4, ptr noundef nonnull align 8 dereferenceable(136) %13)
  %14 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(12) @_ZNSt3__15ctypeIcE2idE)
          to label %15 unwind label %22

15:                                               ; preds = %8
  %16 = load ptr, ptr %14, align 8, !tbaa !62
  %17 = getelementptr inbounds i8, ptr %16, i64 56
  %18 = load ptr, ptr %17, align 8
  %19 = invoke noundef signext i8 %18(ptr noundef nonnull align 8 dereferenceable(25) %14, i8 noundef signext 10)
          to label %25 unwind label %22

20:                                               ; preds = %89, %59, %22
  %21 = phi { ptr, i32 } [ %23, %22 ], [ %60, %59 ], [ %90, %89 ]
  resume { ptr, i32 } %21

22:                                               ; preds = %15, %8
  %23 = landingpad { ptr, i32 }
          cleanup
  %24 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  br label %20

25:                                               ; preds = %15
  %26 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc(ptr noundef nonnull align 8 dereferenceable(8) %9, i8 noundef signext %19)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  %29 = getelementptr inbounds i8, ptr %0, i64 24
  %30 = load ptr, ptr %29, align 8, !tbaa !42
  %31 = icmp eq ptr %30, null
  br i1 %31, label %34, label %32

32:                                               ; preds = %25
  %33 = getelementptr inbounds i8, ptr %0, i64 56
  br label %66

34:                                               ; preds = %92, %25
  %35 = phi i32 [ 0, %25 ], [ %101, %92 ]
  %36 = phi i32 [ 0, %25 ], [ %102, %92 ]
  %37 = phi float [ 0.000000e+00, %25 ], [ %105, %92 ]
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) @_ZNSt3__14coutE, ptr noundef nonnull @.str.3, i64 noundef 11)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %36)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.4, i64 noundef 12)
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(ptr noundef nonnull align 8 dereferenceable(8) %40, i32 noundef %35)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @.str.5, i64 noundef 12)
  %43 = sitofp i32 %35 to float
  %44 = sitofp i32 %36 to float
  %45 = fdiv float %43, %44
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf(ptr noundef nonnull align 8 dereferenceable(8) %42, float noundef %45)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @.str.6, i64 noundef 20)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf(ptr noundef nonnull align 8 dereferenceable(8) %47, float noundef %37)
  %49 = load ptr, ptr %48, align 8, !tbaa !62
  %50 = getelementptr i8, ptr %49, i64 -24
  %51 = load i64, ptr %50, align 8
  %52 = getelementptr inbounds i8, ptr %48, i64 %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #17
  call void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__1::locale") align 8 %3, ptr noundef nonnull align 8 dereferenceable(136) %52)
  %53 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(12) @_ZNSt3__15ctypeIcE2idE)
          to label %54 unwind label %59

54:                                               ; preds = %34
  %55 = load ptr, ptr %53, align 8, !tbaa !62
  %56 = getelementptr inbounds i8, ptr %55, i64 56
  %57 = load ptr, ptr %56, align 8
  %58 = invoke noundef signext i8 %57(ptr noundef nonnull align 8 dereferenceable(25) %53, i8 noundef signext 10)
          to label %62 unwind label %59

59:                                               ; preds = %54, %34
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #17
  br label %20

62:                                               ; preds = %54
  %63 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #17
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc(ptr noundef nonnull align 8 dereferenceable(8) %48, i8 noundef signext %58)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
  br label %108

66:                                               ; preds = %32, %92
  %67 = phi ptr [ %30, %32 ], [ %106, %92 ]
  %68 = phi float [ 0.000000e+00, %32 ], [ %105, %92 ]
  %69 = phi i32 [ 0, %32 ], [ %102, %92 ]
  %70 = phi i32 [ 0, %32 ], [ %101, %92 ]
  %71 = getelementptr inbounds i8, ptr %67, i64 16
  %72 = load i32, ptr %71, align 8, !tbaa !66
  %73 = getelementptr inbounds i8, ptr %67, i64 24
  %74 = load i64, ptr %73, align 8, !tbaa !68
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) @_ZNSt3__14coutE, ptr noundef nonnull @.str.2, i64 noundef 1)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(ptr noundef nonnull align 8 dereferenceable(8) %75, i32 noundef %72)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @.str.2, i64 noundef 1)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm(ptr noundef nonnull align 8 dereferenceable(8) %77, i64 noundef %74)
  %79 = load ptr, ptr %78, align 8, !tbaa !62
  %80 = getelementptr i8, ptr %79, i64 -24
  %81 = load i64, ptr %80, align 8
  %82 = getelementptr inbounds i8, ptr %78, i64 %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #17
  call void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__1::locale") align 8 %2, ptr noundef nonnull align 8 dereferenceable(136) %82)
  %83 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(12) @_ZNSt3__15ctypeIcE2idE)
          to label %84 unwind label %89

84:                                               ; preds = %66
  %85 = load ptr, ptr %83, align 8, !tbaa !62
  %86 = getelementptr inbounds i8, ptr %85, i64 56
  %87 = load ptr, ptr %86, align 8
  %88 = invoke noundef signext i8 %87(ptr noundef nonnull align 8 dereferenceable(25) %83, i8 noundef signext 10)
          to label %92 unwind label %89

89:                                               ; preds = %84, %66
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #17
  br label %20

92:                                               ; preds = %84
  %93 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #17
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc(ptr noundef nonnull align 8 dereferenceable(8) %78, i8 noundef signext %88)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
  %96 = icmp eq i32 %72, -1
  %97 = load i32, ptr %33, align 8
  %98 = mul nsw i32 %97, 100
  %99 = trunc i64 %74 to i32
  %100 = select i1 %96, i32 %98, i32 %72
  %101 = select i1 %96, i32 %99, i32 %70
  %102 = add i32 %69, %99
  %103 = sitofp i32 %100 to float
  %104 = uitofp i64 %74 to float
  %105 = call float @llvm.fmuladd.f32(float %103, float %104, float %68)
  %106 = load ptr, ptr %67, align 8, !tbaa !42
  %107 = icmp eq ptr %106, null
  br i1 %107, label %34, label %66

108:                                              ; preds = %1, %62
  ret void
}

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #9

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #10

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #9

; Function Attrs: mustprogress ssp uwtable(sync)
define linkonce_odr hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__124__put_character_sequenceB8ne190107IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__1::locale", align 8
  %5 = alloca %"class.std::__1::basic_ostream<char>::sentry", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #17
  %6 = invoke noundef ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %7 unwind label %55

7:                                                ; preds = %3
  %8 = load i8, ptr %5, align 8, !tbaa !69, !range !72, !noundef !73
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %10, label %61

10:                                               ; preds = %7
  %11 = load ptr, ptr %0, align 8, !tbaa !62
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 %13
  %15 = getelementptr inbounds i8, ptr %14, i64 40
  %16 = load ptr, ptr %15, align 8, !tbaa !74
  %17 = getelementptr inbounds i8, ptr %14, i64 8
  %18 = load i32, ptr %17, align 8, !tbaa !76
  %19 = getelementptr inbounds i8, ptr %14, i64 144
  %20 = load i32, ptr %19, align 1, !tbaa !77
  %21 = icmp eq i32 %20, -1
  br i1 %21, label %22, label %36

22:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #17
  invoke void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__1::locale") align 8 %4, ptr noundef nonnull align 8 dereferenceable(136) %14)
          to label %23 unwind label %59

23:                                               ; preds = %22
  %24 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(12) @_ZNSt3__15ctypeIcE2idE)
          to label %25 unwind label %30

25:                                               ; preds = %23
  %26 = load ptr, ptr %24, align 8, !tbaa !62
  %27 = getelementptr inbounds i8, ptr %26, i64 56
  %28 = load ptr, ptr %27, align 8
  %29 = invoke noundef signext i8 %28(ptr noundef nonnull align 8 dereferenceable(25) %24, i8 noundef signext 32)
          to label %33 unwind label %30

30:                                               ; preds = %25, %23
  %31 = landingpad { ptr, i32 }
          catch ptr null
  %32 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  br label %63

33:                                               ; preds = %25
  %34 = call noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #17
  %35 = sext i8 %29 to i32
  store i32 %35, ptr %19, align 1, !tbaa !77
  br label %36

36:                                               ; preds = %33, %10
  %37 = phi i32 [ %35, %33 ], [ %20, %10 ]
  %38 = trunc i32 %37 to i8
  %39 = and i32 %18, 176
  %40 = icmp eq i32 %39, 32
  %41 = getelementptr inbounds i8, ptr %1, i64 %2
  %42 = select i1 %40, ptr %41, ptr %1
  %43 = ptrtoint ptr %16 to i64
  %44 = invoke i64 @_ZNSt3__116__pad_and_outputB8ne190107IcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i64 %43, ptr noundef %1, ptr noundef %42, ptr noundef %41, ptr noundef nonnull align 8 dereferenceable(136) %14, i8 noundef signext %38)
          to label %45 unwind label %59

45:                                               ; preds = %36
  %46 = icmp eq i64 %44, 0
  br i1 %46, label %47, label %61

47:                                               ; preds = %45
  %48 = load ptr, ptr %0, align 8, !tbaa !62
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %0, i64 %50
  %52 = getelementptr inbounds i8, ptr %51, i64 32
  %53 = load i32, ptr %52, align 8, !tbaa !79
  %54 = or i32 %53, 5
  invoke void @_ZNSt3__18ios_base5clearEj(ptr noundef nonnull align 8 dereferenceable(136) %51, i32 noundef %54)
          to label %61 unwind label %57

55:                                               ; preds = %3
  %56 = landingpad { ptr, i32 }
          catch ptr null
  br label %66

57:                                               ; preds = %47
  %58 = landingpad { ptr, i32 }
          catch ptr null
  br label %63

59:                                               ; preds = %22, %36
  %60 = landingpad { ptr, i32 }
          catch ptr null
  br label %63

61:                                               ; preds = %47, %45, %7
  %62 = call noundef ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #17
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #17
  br label %75

63:                                               ; preds = %59, %30, %57
  %64 = phi { ptr, i32 } [ %58, %57 ], [ %60, %59 ], [ %31, %30 ]
  %65 = call noundef ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #17
  br label %66

66:                                               ; preds = %63, %55
  %67 = phi { ptr, i32 } [ %64, %63 ], [ %56, %55 ]
  %68 = extractvalue { ptr, i32 } %67, 0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #17
  %69 = call ptr @__cxa_begin_catch(ptr %68) #17
  %70 = load ptr, ptr %0, align 8, !tbaa !62
  %71 = getelementptr i8, ptr %70, i64 -24
  %72 = load i64, ptr %71, align 8
  %73 = getelementptr inbounds i8, ptr %0, i64 %72
  invoke void @_ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv(ptr noundef nonnull align 8 dereferenceable(136) %73)
          to label %74 unwind label %76

74:                                               ; preds = %66
  call void @__cxa_end_catch()
  br label %75

75:                                               ; preds = %74, %61
  ret ptr %0

76:                                               ; preds = %66
  %77 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %78 unwind label %79

78:                                               ; preds = %76
  resume { ptr, i32 } %77

79:                                               ; preds = %76
  %80 = landingpad { ptr, i32 }
          catch ptr null
  %81 = extractvalue { ptr, i32 } %80, 0
  call void @__clang_call_terminate(ptr %81) #19
  unreachable
}

declare noundef ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(ptr noundef nonnull returned align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #9

; Function Attrs: mustprogress ssp uwtable(sync)
define linkonce_odr hidden i64 @_ZNSt3__116__pad_and_outputB8ne190107IcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i64 %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(136) %4, i8 noundef signext %5) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__1::basic_string", align 8
  %8 = inttoptr i64 %0 to ptr
  %9 = icmp eq i64 %0, 0
  br i1 %9, label %83, label %10

10:                                               ; preds = %6
  %11 = ptrtoint ptr %3 to i64
  %12 = ptrtoint ptr %1 to i64
  %13 = sub i64 %11, %12
  %14 = getelementptr inbounds i8, ptr %4, i64 24
  %15 = load i64, ptr %14, align 8, !tbaa !80
  %16 = icmp sgt i64 %15, %13
  %17 = sub nsw i64 %15, %13
  %18 = select i1 %16, i64 %17, i64 0
  %19 = ptrtoint ptr %2 to i64
  %20 = sub i64 %19, %12
  %21 = icmp sgt i64 %20, 0
  br i1 %21, label %22, label %28

22:                                               ; preds = %10
  %23 = load ptr, ptr %8, align 8, !tbaa !62
  %24 = getelementptr inbounds i8, ptr %23, i64 96
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef i64 %25(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef %1, i64 noundef %20)
  %27 = icmp eq i64 %26, %20
  br i1 %27, label %28, label %83

28:                                               ; preds = %22, %10
  %29 = icmp sgt i64 %18, 0
  br i1 %29, label %30, label %73

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #17
  %31 = icmp ugt i64 %18, 9223372036854775799
  br i1 %31, label %32, label %33

32:                                               ; preds = %30
  call void @_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorB8ne190107Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #20
  unreachable

33:                                               ; preds = %30
  %34 = icmp ult i64 %18, 23
  br i1 %34, label %44, label %35

35:                                               ; preds = %33
  %36 = or i64 %18, 7
  %37 = icmp eq i64 %36, 23
  %38 = add nuw i64 %36, 1
  %39 = select i1 %37, i64 25, i64 %38
  %40 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %39) #16
  store ptr %40, ptr %7, align 8, !tbaa !81
  %41 = getelementptr inbounds i8, ptr %7, i64 16
  %42 = or i64 %39, -9223372036854775808
  store i64 %42, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %7, i64 8
  store i64 %18, ptr %43, align 8, !tbaa !81
  br label %47

44:                                               ; preds = %33
  %45 = trunc nuw i64 %18 to i8
  %46 = getelementptr inbounds i8, ptr %7, i64 23
  store i8 %45, ptr %46, align 1
  br label %47

47:                                               ; preds = %35, %44
  %48 = phi ptr [ %40, %35 ], [ %7, %44 ]
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %48, i8 %5, i64 %18, i1 false), !tbaa !81
  %49 = getelementptr inbounds i8, ptr %48, i64 %18
  store i8 0, ptr %49, align 1, !tbaa !81
  %50 = getelementptr inbounds i8, ptr %7, i64 23
  %51 = load i8, ptr %50, align 1
  %52 = icmp slt i8 %51, 0
  %53 = load ptr, ptr %7, align 8
  %54 = select i1 %52, ptr %53, ptr %7
  %55 = load ptr, ptr %8, align 8, !tbaa !62
  %56 = getelementptr inbounds i8, ptr %55, i64 96
  %57 = load ptr, ptr %56, align 8
  %58 = invoke noundef i64 %57(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef %54, i64 noundef %18)
          to label %59 unwind label %66

59:                                               ; preds = %47
  %60 = icmp eq i64 %58, %18
  %61 = load i8, ptr %50, align 1
  %62 = icmp slt i8 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %59
  %64 = load ptr, ptr %7, align 8, !tbaa !81
  call void @_ZdlPv(ptr noundef %64) #18
  br label %65

65:                                               ; preds = %59, %63
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #17
  br i1 %60, label %73, label %83

66:                                               ; preds = %47
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = load i8, ptr %50, align 1
  %69 = icmp slt i8 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %66
  %71 = load ptr, ptr %7, align 8, !tbaa !81
  call void @_ZdlPv(ptr noundef %71) #18
  br label %72

72:                                               ; preds = %66, %70
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #17
  resume { ptr, i32 } %67

73:                                               ; preds = %65, %28
  %74 = sub i64 %11, %19
  %75 = icmp sgt i64 %74, 0
  br i1 %75, label %76, label %82

76:                                               ; preds = %73
  %77 = load ptr, ptr %8, align 8, !tbaa !62
  %78 = getelementptr inbounds i8, ptr %77, i64 96
  %79 = load ptr, ptr %78, align 8
  %80 = call noundef i64 %79(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef %2, i64 noundef %74)
  %81 = icmp eq i64 %80, %74
  br i1 %81, label %82, label %83

82:                                               ; preds = %76, %73
  store i64 0, ptr %14, align 8, !tbaa !80
  br label %83

83:                                               ; preds = %82, %65, %22, %76, %6
  %84 = phi i64 [ 0, %6 ], [ %0, %82 ], [ 0, %65 ], [ 0, %22 ], [ 0, %76 ]
  ret i64 %84
}

; Function Attrs: nounwind
declare noundef ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(ptr noundef nonnull returned align 8 dereferenceable(16)) unnamed_addr #7

declare void @_ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #9

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress noreturn ssp uwtable(sync)
define linkonce_odr hidden void @_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorB8ne190107Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) local_unnamed_addr #11 {
  tail call void @_ZNSt3__120__throw_length_errorB8ne190107EPKc(ptr noundef nonnull @.str.7) #20
  unreachable
}

; Function Attrs: inlinehint mustprogress noreturn ssp uwtable(sync)
define linkonce_odr hidden void @_ZNSt3__120__throw_length_errorB8ne190107EPKc(ptr noundef %0) local_unnamed_addr #12 personality ptr @__gxx_personality_v0 {
  %2 = tail call ptr @__cxa_allocate_exception(i64 16) #17
  %3 = invoke noundef ptr @_ZNSt12length_errorC1B8ne190107EPKc(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef %0)
          to label %4 unwind label %5

4:                                                ; preds = %1
  tail call void @__cxa_throw(ptr nonnull %2, ptr nonnull @_ZTISt12length_error, ptr nonnull @_ZNSt12length_errorD1Ev) #20
  unreachable

5:                                                ; preds = %1
  %6 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %2) #17
  resume { ptr, i32 } %6
}

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress ssp uwtable(sync)
define linkonce_odr hidden noundef ptr @_ZNSt12length_errorC1B8ne190107EPKc(ptr noundef nonnull returned align 8 dereferenceable(16) %0, ptr noundef %1) unnamed_addr #6 {
  %3 = tail call noundef ptr @_ZNSt11logic_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %1)
  store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVSt12length_error, i64 16), ptr %0, align 8, !tbaa !62
  ret ptr %0
}

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare noundef ptr @_ZNSt12length_errorD1Ev(ptr noundef nonnull returned align 8 dereferenceable(16)) unnamed_addr #7

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare noundef ptr @_ZNSt11logic_errorC2EPKc(ptr noundef nonnull returned align 8 dereferenceable(16), ptr noundef) unnamed_addr #9

declare void @_ZNKSt3__18ios_base6getlocEv(ptr dead_on_unwind writable sret(%"class.std::__1::locale") align 8, ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #9

; Function Attrs: nounwind
declare noundef ptr @_ZNSt3__16localeD1Ev(ptr noundef nonnull returned align 8 dereferenceable(8)) unnamed_addr #7

declare noundef ptr @_ZNKSt3__16locale9use_facetERNS0_2idE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #9

declare void @_ZNSt3__18ios_base5clearEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) local_unnamed_addr #9

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #9

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #9

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13

; Function Attrs: nofree nounwind willreturn memory(argmem: readwrite)
declare void @memset_pattern16(ptr nocapture writeonly, ptr nocapture readonly, i64) local_unnamed_addr #14

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #15

attributes #0 = { mustprogress norecurse ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(0) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #3 = { nobuiltin nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #4 = { mustprogress nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #5 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #6 = { mustprogress ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #7 = { nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #8 = { noinline noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #9 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { mustprogress noreturn ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #12 = { inlinehint mustprogress noreturn ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz" }
attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #14 = { nofree nounwind willreturn memory(argmem: readwrite) }
attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #16 = { builtin allocsize(0) }
attributes #17 = { nounwind }
attributes #18 = { builtin nounwind }
attributes #19 = { noreturn nounwind }
attributes #20 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}

!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 14, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Homebrew clang version 19.1.7"}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"_ZTS8ListNode", !11, i64 0, !11, i64 4, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"_ZTS13EvalCacheHook", !14, i64 0, !17, i64 8, !26, i64 48, !11, i64 56, !11, i64 60}
!17 = !{!"_ZTSNSt3__113unordered_mapIimNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKimEEEEEE", !18, i64 0}
!18 = !{!"_ZTSNSt3__112__hash_tableINS_17__hash_value_typeIimEENS_22__unordered_map_hasherIiS2_NS_4hashIiEENS_8equal_toIiEELb1EEENS_21__unordered_map_equalIiS2_S7_S5_Lb1EEENS_9allocatorIS2_EEEE", !19, i64 0, !27, i64 16, !30, i64 24, !31, i64 32}
!19 = !{!"_ZTSNSt3__110unique_ptrIA_PNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEENS_25__bucket_list_deallocatorINS_9allocatorIS9_EEEEEE", !20, i64 0}
!20 = !{!"_ZTSNSt3__117__compressed_pairIPPNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEENS_25__bucket_list_deallocatorINS_9allocatorIS9_EEEEEE", !21, i64 0, !22, i64 8}
!21 = !{!"_ZTSNSt3__122__compressed_pair_elemIPPNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEELi0ELb0EEE", !14, i64 0}
!22 = !{!"_ZTSNSt3__122__compressed_pair_elemINS_25__bucket_list_deallocatorINS_9allocatorIPNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEEEEEELi1ELb0EEE", !23, i64 0}
!23 = !{!"_ZTSNSt3__125__bucket_list_deallocatorINS_9allocatorIPNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEEEEEE", !24, i64 0}
!24 = !{!"_ZTSNSt3__117__compressed_pairImNS_9allocatorIPNS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEEEEEE", !25, i64 0}
!25 = !{!"_ZTSNSt3__122__compressed_pair_elemImLi0ELb0EEE", !26, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = !{!"_ZTSNSt3__117__compressed_pairINS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEENS_9allocatorIS6_EEEE", !28, i64 0}
!28 = !{!"_ZTSNSt3__122__compressed_pair_elemINS_16__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEELi0ELb0EEE", !29, i64 0}
!29 = !{!"_ZTSNSt3__116__hash_node_baseIPNS_11__hash_nodeINS_17__hash_value_typeIimEEPvEEEE", !14, i64 0}
!30 = !{!"_ZTSNSt3__117__compressed_pairImNS_22__unordered_map_hasherIiNS_17__hash_value_typeIimEENS_4hashIiEENS_8equal_toIiEELb1EEEEE", !25, i64 0}
!31 = !{!"_ZTSNSt3__117__compressed_pairIfNS_21__unordered_map_equalIiNS_17__hash_value_typeIimEENS_8equal_toIiEENS_4hashIiEELb1EEEEE", !32, i64 0}
!32 = !{!"_ZTSNSt3__122__compressed_pair_elemIfLi0ELb0EEE", !7, i64 0}
!33 = !{!32, !7, i64 0}
!34 = !{!16, !26, i64 48}
!35 = distinct !{!35, !36, !37, !38}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!"llvm.loop.isvectorized", i32 1}
!38 = !{!"llvm.loop.unroll.runtime.disable"}
!39 = distinct !{!39, !36}
!40 = distinct !{!40, !36}
!41 = distinct !{!41, !36}
!42 = !{!29, !14, i64 0}
!43 = distinct !{!43, !36}
!44 = !{!14, !14, i64 0}
!45 = distinct !{!45, !36}
!46 = distinct !{!46, !36, !37, !38}
!47 = distinct !{!47, !36}
!48 = distinct !{!48, !36, !37}
!49 = distinct !{!49, !36}
!50 = distinct !{!50, !36}
!51 = distinct !{!51, !36}
!52 = distinct !{!52, !36}
!53 = distinct !{!53, !36}
!54 = distinct !{!54, !36}
!55 = distinct !{!55, !36, !37, !38}
!56 = distinct !{!56, !36}
!57 = distinct !{!57, !36}
!58 = distinct !{!58, !36}
!59 = distinct !{!59, !36}
!60 = distinct !{!60, !36}
!61 = distinct !{!61, !36}
!62 = !{!63, !63, i64 0}
!63 = !{!"vtable pointer", !9, i64 0}
!64 = distinct !{!64, !36}
!65 = !{!26, !26, i64 0}
!66 = !{!67, !11, i64 0}
!67 = !{!"_ZTSNSt3__14pairIKimEE", !11, i64 0, !26, i64 8}
!68 = !{!67, !26, i64 8}
!69 = !{!70, !71, i64 0}
!70 = !{!"_ZTSNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryE", !71, i64 0, !14, i64 8}
!71 = !{!"bool", !8, i64 0}
!72 = !{i8 0, i8 2}
!73 = !{}
!74 = !{!75, !14, i64 40}
!75 = !{!"_ZTSNSt3__18ios_baseE", !11, i64 8, !26, i64 16, !26, i64 24, !11, i64 32, !11, i64 36, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !26, i64 72, !26, i64 80, !14, i64 88, !26, i64 96, !26, i64 104, !14, i64 112, !26, i64 120, !26, i64 128}
!76 = !{!75, !11, i64 8}
!77 = !{!78, !11, i64 0}
!78 = !{!"_ZTSNSt3__118_SentinelValueFillINS_11char_traitsIcEEEE", !11, i64 0}
!79 = !{!75, !11, i64 32}
!80 = !{!75, !26, i64 24}
!81 = !{!8, !8, i64 0}
